package org.qh.ai.domain.bo;

import java.util.List;

@lombok.Data
public class ChatData {
    private Data data;
    private Object expire;

    @lombok.Data
    public static class Data {
        private long active;
        private boolean usingContext;
        private List<History> history;
        private List<Chat> chat;
    }

    @lombok.Data
    public static class History {
        private String title;
        private long uuid;
        private boolean isEdit;
    }

    @lombok.Data
    public static class Chat {
        private long uuid;
        private List<ChatDataItem> data;
    }

    @lombok.Data
    public static class ChatDataItem {
        private String dateTime;
        private String text;
        private Boolean inversion;
        private Boolean error;
        private Object conversationOptions;
        private RequestOptions requestOptions;
        private Boolean loading;
        private String model;
        private String myid;
    }

    @lombok.Data
    public static class RequestOptions {
        private String prompt;
        private Options options;
    }

    @lombok.Data
    public static class Options {
        // 根据JSON结构，options对象为空，所以这里不需要定义具体字段
    }
}
